gtk-demo: Use style classes in the listbox demo
authorMatthias Clasen <mclasen@redhat.com>
Tue, 11 Aug 2020 00:19:09 +0000 (20:19 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 13 Aug 2020 20:30:22 +0000 (16:30 -0400)
Add a .rich-list style class to the controls demo.

demos/gtk-demo/listbox2.ui

index c4f4700caac2782f2e0e2f90f517990bfb335376..181ee5d4dcf80a5cf2aac80205e66028b5a9cf54 100644 (file)
                         <property name="selection-mode">none</property>
                         <property name="show-separators">1</property>
                         <signal name="row-activated" handler="row_activated"/>
+                        <style>
+                          <class name="rich-list"/>
+                        </style>
+
                         <child>
                           <object class="GtkListBoxRow">
                             <child>
                       <object class="GtkListBox">
                         <property name="selection-mode">none</property>
                         <property name="show-separators">1</property>
+                        <style>
+                          <class name="rich-list"/>
+                        </style>
 
                         <child>
                           <object class="GtkListBoxRow">